﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="MvcMall.AdminWeb.Manage.GoodsBrands.Index" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <meta http-equiv="x-ua-compatible" content="ie=7" />
    <link href="/Scripts/Validate/pagevalidator.css" rel="stylesheet" type="text/css" />
    <link href="/Styles/themes/base/jquery-ui.css" rel="stylesheet" type="text/css" />
    <link href="/Styles/Site.css" rel="stylesheet" type="text/css" />
    <script src="/Scripts/jquery-1.4.4.min.js" type="text/javascript"></script>
    <script src="/Scripts/jquery-ui.min.js" type="text/javascript"></script>
    <script src="/Scripts/Validate/pagevalidator.js" type="text/javascript"></script>
    <script>
        $(function () {
            $("#tabs").tabs();
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="tabs">
        <ul>
            <li><a href="#list">商品品牌管理</a></li>
        </ul>
        <div id="list">
            <asp:Repeater ID="rptBrands" runat="server" ViewStateMode="Disabled" EnableViewState="false">
                <HeaderTemplate>
                    <table width="100%">
                        <tr>
                            <th>
                                Id
                            </th>
                            <th>
                                品牌名称
                            </th>
                            <th>
                                品牌状态
                            </th>
                            <th>
                                排序编号
                            </th>
                            <th>
                                所属分类
                            </th>
                            <th>
                                申请网商
                            </th>
                            <th>
                            </th>
                        </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td>
                            <%# Eval("Id") %>
                        </td>
                        <td>
                            <%# Eval("BrandName") %>
                        </td>
                        <td>
                            <%# Eval("GoodsBrandStatus") %>
                        </td>
                        <td>
                            <%# Eval("SortOrder") %>
                        </td>
                        <td>
                            <%# Eval("CatName") %>
                        </td>
                        <td>
                            <%# Eval("UserName") %>
                        </td>
                        <td>
                            <a href='Save.aspx?Id=<%# Eval("Id") %>'>修改</a>
                        </td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table></FooterTemplate>
            </asp:Repeater>
            <UC:AspNetPager ID="ANPager" runat="server" HorizontalAlign="Right" PagingButtonSpacing="10px"
                Width="100%" ShowCustomInfoSection="Right" CurrentPageButtonPosition="Center"
                FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" PrevPageText="上一页" ShowPageIndex="false"
                CssClass="paginator" CurrentPageButtonClass="cpb" ReverseUrlPageIndex="true"
                PageSize="10" CustomInfoHTML="共%PageCount%页，当前为第%CurrentPageIndex%页，每页%PageSize%条，共%RecordCount%条记录"
                SubmitButtonText="Go" TextAfterPageIndexBox="页" TextBeforePageIndexBox="转到" LayoutType="Table"
                OnPageChanged="ANPager_PageChanged" ShowPageIndexBox="Always" PageIndexBoxType="DropDownList">
            </UC:AspNetPager>
        </div>
    </div>
    </form>
</body>
</html>
